<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="/buy">
    商品：<br>
    <div>

        <input type="radio" name="name" value="小米">小米<br>
        <input type="radio" name="name" value="大米">大米<br>
        <input type="radio" name="name" value="红米">红米<br>
        <input type="radio" name="name" value="华为">华为<br>
    </div>
    数量：<br>
    <div>
        <input name="count">
    </div>
    <button type="submit">下单</button>
</form>

</body>
</html>